<template>
  <text class="tz-text" v-bind="$attrs" @Tap="handleTap"><slot /></text>
</template>
<script>
export default {
  name: "TzText",
  inheritAttrs: false,
  emits: ["click"],
  setup(props, { emit }) {
    const handleTap = (event) => {
      emit("click", event);
    };
    return { handleTap };
  },
};
</script>
